import Vue from 'vue'
import App from './App'
import uView from 'uview-ui';
import loading from './components/yaluji.vue'
import getlist from './common/list.js'
import config from './common/config/config.js'
import getuserinfo from './common/getuserinfo.js'
import queryInfo from './common/queryInfo.js'
import NoData from './common/noData.vue'

Vue.use(uView);
Vue.config.productionTip = false
Vue.component('view-loading',loading)
Vue.component('view-NoData',NoData)
Vue.prototype.config=config
Vue.prototype.getuserinfo=getuserinfo
Vue.prototype.queryInfo=queryInfo

// 全局mixins，用于实现setData等功能';
import Mixin from './polyfill/mixins';
Vue.mixin(Mixin);

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
